<?php

namespace app\api\controller;
use app\common\controller\Api;
use think\Request;

class GradeT extends Api
{

    protected $noNeedLogin = ['*'];
    public function __construct(Request $request = null)
    {
        parent::__construct($request);
        $this->model = new \app\admin\model\Grade();
    }

    public function index()
    {
        $list = $this->model->where([])->paginate();
        $this->success('请求成功',$list);
    }
    

}